package com.zq.it.dao.admin;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.zq.it.pojo.Major;

public interface MajorDao {
	
	public void saveMajorEty(Major academty);
	public void saveMajorEtyList(Collection<Major> collection);
	public void deleteMajorEtyByID(Integer id);
	public void deleteMajorEtyByObj(Major major);
	public void deleteAllEty(int[] list);
	public List<Major> findMajorEtyList();
	public  List findMajorEtyById(Integer id);	
	public void updateMajorEty(Major major);
	public List findMajorEtyByName(String name);
	public List findMajorEtyByDate(Date date);
	public List findMajorEtyByExmp(Major major);
	//public 
	public  Major findMajorEty(Integer id);	
	public List findMajorEtyByAcmyId(Integer id);
	
	public List findMajorEtyByHql(String hql);
	public List findMajorNameAndId();
	
	//public  Major findMajorEtyById(Integer id);	
	
	//public List findMajorEtyByType();
	
}
